Format code with rustfmt#497
Conversation
|
That's something @alatiera might have. :) |
What I have in my local checkout is the following: ➜ gir ✗ cat rustfmt.toml
indent_style = "Visual" |
|
@alatiera said it was indent_style = "Visual"Unfortunately configuration in rustfmt is still unstable So either we go with the default for now, or more waiting. |
|
@GuillaumeGomez What do you think? Does the formatted code in this PR look fine to you until we can enable that rustfmt configuration, or do you prefer to wait (in which case we should create an issue to ask for stabilization of the configuration we need: you only require |
|
I'm not a big fan but that's just minor stuff so let's go. |
|
Ok, thanks! We can add the configuration at a later time, and in the meantime you could ask for it to be stabilized if it's important enough. If @EPashkin is also fine with this, let's get this merged then. And then I'll prepare MRs for everything else doing the same. |
|
I opened an issue for the feature stabilization: rust-lang/rustfmt#3622 |
|
👍 |
@GuillaumeGomez you mentioned a rustfmt config you prefer over the default. Can you provide that one so it can be integrated here?